const tokenKey= 'queming'
//设置token方法
export const setToken=(token:string)=>{
    wx.setStorageSync(tokenKey,token)
}

export const getToken=()=>{
   return wx.getStorageSync(tokenKey) || null 
}

export const removeToken=()=>{
    wx.setStorageSync(tokenKey,'')
}